modify position filter algorithm. (#373)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Mon, 8 Jul 2019 20:54:46 +0000 (14:54 -0600)
committerGitHub <noreply@github.com>
Mon, 8 Jul 2019 20:54:46 +0000 (14:54 -0600)
commit5af474dc783693897adbaf038074a52ca3c4da4c
tree03457b241c5c3b34bd37c74b399bc3f8c8c021c7
parent95daffeca9126a1fc0bb71f910854103a7b2c195
modify position filter algorithm. (#373)

For routes and tracks, the algorithm is modified to
only remove consecutive points until the distance limit is
exceeded.  This prevents simulataneous removal of points on
an outgoing and return leg, which can lead to gross corruption
of the route/track shape.

A test case that demonstrates the problem with the previous
algorithm is added.
position.cc
position.h
reference/track/position_track.gpx [new file with mode: 0644]
reference/track/position_track_filtered.gpx [new file with mode: 0644]
testo.d/position.test
xmldoc/filters/position.xml